<?php
namespace app\admin\controller;

use app\Ctl;

class Admin extends Ctl
{
    // 初始化
    protected function _initialize()
    {
        if(!session('admin_login')){
            $this->redirect(url('admin/login/index'));
        }
    }
    public function test_admin()
    {
        echo '测试后台积累';
    }


}